Execute<T>(Action<T>,T) Method

Summary
Executes the specified delegate. Provides additional state information to be passed to the thread.
Syntax
C#
VB
C++
public static AsyncResult Execute<T>( 
   Action<T> d, 
   T state 
) 
  
Public Overloads Shared Function Execute(Of T)( _ 
   ByVal d As Action(Of T), _ 
   ByVal state As T _ 
) As AsyncResult 
public: 
static AsyncResult^ Executegeneric<typename T> 
(  
   Action<T^>^ d, 
   T^ state 
)  

Parameters

d
The delegate to execute asynchronously.

state
The state information to pass to the thread.

Type Parameters

T
The type of parameter this thread uses.

Return Value

The asynchronous result.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.